import request from '@/utils/request'

// 查询点赞管理列表
export function listBlessUser(query) {
  return request({
    url: '/marry/blessUser/list',
    method: 'get',
    params: query
  })
}

// 查询点赞管理列表
export function listAllBlessUser(query) {
  return request({
    url: '/marry/blessUser/listAll',
    method: 'get',
    params: query
  })
}

// 查询点赞管理详细
export function getBlessUser(id) {
  return request({
    url: '/marry/blessUser/' + id,
    method: 'get'
  })
}

// 新增点赞管理
export function addBlessUser(data) {
  return request({
    url: '/marry/blessUser',
    method: 'post',
    data: data
  })
}

// 修改点赞管理
export function updateBlessUser(data) {
  return request({
    url: '/marry/blessUser',
    method: 'put',
    data: data
  })
}

// 删除点赞管理
export function delBlessUser(id) {
  return request({
    url: '/marry/blessUser/' + id,
    method: 'delete'
  })
}

// 导出点赞管理
export function exportBlessUser(query) {
  return request({
    url: '/marry/blessUser/export',
    method: 'get',
    params: query
  })
}
